﻿using System.Linq;

namespace Inscriptionem.Models.Blog.Views
{
    public class CategoryViewModel : BlogViewModel
    {
        public ORM.Category Category { get { return SectionDataProvider == null ? null : SectionDataProvider.Categories.FirstOrDefault(c => c.ID == ID); } }
    }
}